Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort studies by name and add basic study intersection check [prod]. (#1023) #1025

Closed
wants to merge 1 commit into from

Conversation

goodov
Copy link
Member

@goodov goodov commented Apr 26, 2024

Cherry-pick of #1023

Copied from the original PR:
This is a required change to migrate to per-file study structure, because per-file structure implies study enumeration in alphabetical order (as files lay on the file system).

This change should be a no-op as long as we don't have studies intersection. This PR adds the required validation to ensure we do not have this kind of intersection, which means if the seed is validated, then it doesn't depend on the initial order of studies in seed.json and it's safe to reorder studies.

We need to have the updated seed to work so in future we can switch the underlying generator without worrying too much.

* Sort studies by name and add basic study intersection validation.

* Fix wildcard version comparison, add tests.

* Make sure to properly cover empty channel/platform lists (although this is not allowed).
@goodov goodov changed the title Sort studies by name and add basic study intersection check. (#1023) Sort studies by name and add basic study intersection check [prod]. (#1023) Apr 27, 2024
@goodov goodov closed this Jul 11, 2024
@goodov goodov deleted the sort-seed-production branch July 11, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant